package com.bajie.bjlisten.entity.response;

import com.bajie.bjlisten.entity.BjChapters;
import com.bajie.bjlisten.entity.BjEBookShelf;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * Package: com.bajie.framework.domain.ebook.response
 * <p>
 * Description： TODO
 * <p>
 * Author: wangzhen
 * <p>
 * Date: Created in 2019/5/9 11:37 PM
 */
@Data
@ToString
public class EBookShelfResult extends ResponseResult {

    @ApiModelProperty(value = "书架信息", example = "true", required = true)
    BjEBookShelf bjEBookShelves;

    List<BjChapters> bjChaptersList;
    public EBookShelfResult(ResultCode resultCode, BjEBookShelf bjEBookShelves) {
        super(resultCode);
        this.bjEBookShelves = bjEBookShelves;
    }
    public EBookShelfResult(ResultCode resultCode, List<BjChapters> bjChaptersList) {
        super(resultCode);
        this.bjChaptersList = bjChaptersList;
    }


    public EBookShelfResult(ResultCode resultCode) {
        super(resultCode);
    }
}
